#ifndef CASCADE_BAGGING_H__CMU_
#define CASCADE_BAGGING_H__CMU_

#include "baseline_bagging.h"

class cascade_bagging : public baseline_bagging {
public:
	virtual double predict(double * alpha, double * p, int n);
	virtual string get_type();

	virtual ~cascade_bagging(){}

};

class cascade_gradual_bagging : public cascade_bagging {
public:
	virtual void update_distribution(double alpha, double * y, double * p, int l, double * d_t, double * d_t1);
	virtual string get_type();
	virtual bool full_updating(){return false;}
	virtual ~cascade_gradual_bagging(){}
};

#endif